package com.zhang.network.model.network;

import com.zhang.network.constant.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 查询数据实体
 *
 * @author zhangshuaiyin
 * @date 2021-04-06 10:02
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class NetWorkQueryDTO extends PageRequest {
    @ApiModelProperty(value = "管理员id")
    private String userId;

    @ApiModelProperty(value = "人脉圈标题")
    private String title;

    @ApiModelProperty(value = "人脉圈类型")
    private String type;

    @Override
    public String toString() {
        return "NetWorkQueryDTO{" +
                "title='" + title + '\'' +
                ", type='" + type + '\'' +
                ", pageNum='" + super.getPageNum() + '\'' +
                ", pageSize='" + super.getPageSize() + '\'' +
                '}';
    }
}
